<?php

class CHCAxisPlotBands extends AbstractHCObject
{
    /**
     * The color or gradient of the plot band. Defaults to null.
     * 
     * @param String $psColor
     */
    public function setColor($psColor)
    {
         if (CSDebug::assertHex($psColor)) return false;
        
        $this->setParam('color', $psColor);
    }
    
    
    /**
     * The start position of the plot band in axis units. Defaults to null.
     * 
     * @param Number $pnNumber
     */
    public function setFrom($pnNumber)
    {
        if (CSDebug::assertNumber($pnNumber, true)) return false;
        
        $this->setParam('from', $pnNumber);
    }
    
    
    /**
     * The end position of the plot band in axis units. Defaults to null.
     * 
     * @param Number $pnNumber
     */
    public function setTo($pnNumber)
    {
        if (CSDebug::assertNumber($pnNumber, true)) return false;
        
        $this->setParam('to', $pnNumber);
    }
}

?>